package com.jobs.core;

public interface Job extends Runnable {
	public enum JobPriority {
		IMMEDIATE, HIGH, MEDIUM, LOW
	};
	
	public enum JobStatus {
		FINISHED,
		INPROGRESS,
		STARTED,
		FAILEDDUETOFATALERROR,
		WAITING,
		FATALERROR
	}
	
	public void execute();
	public String getJobName();
	public String getJobDescription();
	public JobPriority getJobPriority();
	public JobStatus getJobStatus();
}
